function goTo(index){
    let url = "";
    switch (index){
        case 1:
            url = "/OrderingFoodForWebMaven/pages/business/login.jsp";
            break;
        case 2:
            url = "/OrderingFoodForWebMaven/pages/user/login.jsp";
            break;
        case 3:
            url = "/OrderingFoodForWebMaven/pages/rider/login.jsp";
            break;
    }
    location.href = url;
}